import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'


import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 全局配置pinia
import {createPinia} from 'pinia'
import { createPersistedState } from 'pinia-plugin-persistedstate'
let pinia=createPinia();
pinia.use(createPersistedState())



import i18n from './lang/index'
// 
createApp(App).use(ElementPlus).use(router).use(i18n).use(pinia).mount('#app')
